]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Fill UserListItem layout to show the timed login indicator
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 5 Feb 2021 15:58:49 +0000 (16:58 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 9 Feb 2021 06:08:55 +0000 (06:08 +0000)
When the timed indicator is shown the UserListItem layout should fill
so that the timed indicator can expand to use the whole item space.

So, always use the default value for x-align that will make it to fill
the available space without causing any regression when the timed
indicator is hidden.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3675
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1644>

js/gdm/loginDialog.js

index baddc22cd0089613063e3ba0d362bff29e4311c2..ad84c3e3c33a88d7f752a7deb08116788f1b46b9 100644 (file)
@@ -42,7 +42,6 @@ var UserListItem = GObject.registerClass({
     _init(user) {
         let layout = new St.BoxLayout({
             vertical: true,
-            x_align: Clutter.ActorAlign.START,
         });
         super._init({
             style_class: 'login-dialog-user-list-item',